package com.zhy.user.convert;

import com.zhy.user.entity.po.SysUser;
import com.zhy.user.entity.req.SysUserReq;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;


/**
 * @author 随缘而愈
 * @version 1.0
 * @description TODO
 * @date 25/1/2024 下午5:44
 */
@Mapper
public interface SysUserConvert {
    SysUserConvert INSTANCE = Mappers.getMapper(SysUserConvert.class);

    //@Mapping(source = "age1",target = "age2")去实现手动映射
    SysUser sysReqTosysUser (SysUserReq sysUserReq);
}
